﻿@(Html.Telerik().ComboBox()
    .AutoFill(Model.ComboBoxAttributes.AutoFill.Value)
    .SelectedIndex(Model.ComboBoxAttributes.SelectedIndex.Value)
    .Filterable(filtering =>
    {
        if (Model.ComboBoxAttributes.FilterMode != 0) 
        {
            filtering.FilterMode(AutoCompleteFilterMode.StartsWith);
        }
    })
    .HighlightFirstMatch(Model.ComboBoxAttributes.HighlightFirst.Value)
)